<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="t" %>
<%@page contentType="text/html" pageEncoding="UTF-8" %>
<%@ page session="false" %>
<html>
<head>

    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"/>


    <script type="text/javascript">

        var pageCallbacks = {

            onBack: function () {
                return true;
            }

        };

        function setCallback(map) {
            pageCallbacks = map;
        }

        function back() {
            history.go(-1);
        }

        //手动托管返回事件
        window.history.pushState(null, null, "");
        window.addEventListener("popstate", function (e) {
            if (pageCallbacks.onBack()) {
                history.back();
            } else {
                window.history.pushState(null, null, "");
            }

        });


    </script>


    <script type="text/javascript">


        function closeThis() {
            window.opener = null;
            window.open('', '_self');
            window.close();
        }

    </script>

</head>
<body style="width: 100%;height: 100%">


<div id="page-head-bar" style="width: 100%;z-index: 9000;position: absolute;height: 0;top: 0">
    <t:insertAttribute name="head"/>
</div>

<div id="page-content" style="left: 0;top:60px;position: absolute;width: 100%;height: 100%">
    <t:insertAttribute name="body"/>
</div>

</body>


</html>

